package com.cyj.springioc2.service.impl;

import com.cyj.springioc2.mapper.IUserMapper;
import com.cyj.springioc2.service.IUserService;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @Author C_Y_J
 * @create 2021-02-26 11:39
 **/
@Service("userService")
public class UserServiceImpl implements IUserService {

    private final IUserMapper userMapper;

    public UserServiceImpl(IUserMapper userMapper) {
        this.userMapper = userMapper;
    }

    @Override
    public void save() {
        userMapper.save();
    }
}
